// antdesign
// notification Info Success Warning Error
import 'ant-design-vue/dist/antd.css';
import { notification } from 'ant-design-vue'
const notify = (state, data, desc) => { // 状态图标,
    notification[state]({
        message: data,
        description: desc || "", //如果没传 就为空
        duration: 3,
    });
}
export default {
    notify
}
